import request from '@/utils/request';


export async function queryCurrent(): Promise<any> {
  return request.get('/common/profile/detail');
}

export async function updateCurrent({ ...params }): Promise<any> {
  return request.post('/common/profile/save',{
    data:params
  });
}

export async function fetchDicData(): Promise<any> {
  return request.get('/datadict/finddict');
}

